package com.dimanche.library_base.constant;

import com.dimanche.library_base.utils.FileUtils;

/**
 * author : Dimanche
 * date   : 2021/3/3 13:38
 * desc   :
 * version: 1.0
 */
public class Constant {
    //region 日志相关
    //============================================
    public static final long logFileSize = 1024 * 6;//日志文件大小
    public static final int LOG_SAVE_DAY = 7;//日志保存的天数
    public static final String logPath = FileUtils.getRootDir() + "/test/log/";//日志文件的存储路径
    public static final boolean OPEN_LOG = true;//是否开启全局log
    public static final boolean OPEN_LOG_E = true;//是否开启全局loge级别的日志
    public static final boolean OPEN_LOG_I = true;//是否开启全局logi级别的日志
    public static final boolean WRITE_LOG = true;//是否全局log写入文件
    public static final boolean WRITE_LOG_E = true;//是否将loge级别写入文件
    public static final boolean WRITE_LOG_I = false;//是否将logi级别的日志写入到文件
    public static final boolean WRITE_CUS_LOG = true;//是否将业务日志写入文件
    //endregion
}
